package tech.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.entity.ExaInfo;
import tech.aistar.mapper.ExaInfoMapper;
import tech.aistar.service.IExaInfoService;

import java.util.Date;

@Service
public class ExaInfoServiceImpl implements IExaInfoService {
    @Autowired
    private ExaInfoMapper exaInfoMapper;
    @Override
    public ExaInfo findexa(String tid) {
        return exaInfoMapper.findexa(tid);
    }

    @Override
    public int insertExaInfo(ExaInfo exaInfo) {
        return exaInfoMapper.insertExaInfo(exaInfo);
    }

    @Override
    public ExaInfo findByPaperId(Long paperId) {
        return exaInfoMapper.findByPaperId(paperId);
    }

    @Override
    public Long findByStartTime(Long usId) {
        return exaInfoMapper.findByStartTime(usId);
    }


}
